import { defineStore } from 'pinia'
 export const useUserInfoStore: any = defineStore('user', {
  //state 状态的意思  数据的意思  存储共享数据
  state: () => {
    return {
      //共享数据
      userInfo: {
        did:'',
        dname:'',
        dpwd:'',
        flag:''
      },
    };
  },
  persist: {
    storage: sessionStorage,
  },
  
});